package com.example.qcrmdemo.service;


import com.example.qcrmdemo.entity.Serve;
import com.github.pagehelper.PageInfo;

public interface ServeService {

    PageInfo<Serve> findByKeyword(int pageNum, int pageSize, String keyword);

    Serve findById(int id);

    boolean append(Serve serve);

    boolean modify(Serve serve);

    boolean remove(int id);

    PageInfo<Serve> selectAll();

    PageInfo<Serve> selectWeiFenPei();

    PageInfo<Serve> selectWeiChuLi();

    PageInfo<Serve> selectWeiFanKui();

    PageInfo<Serve> selectYiWanCheng();
}
